//
//  VVTabBarControllerHandler.h
//  VOVA
//
//  Created by fwzhou on 2020/3/27.
//  Copyright © 2020 iOS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LBTabBarController.h"

NS_ASSUME_NONNULL_BEGIN

@interface LBTabBarControllerHandler : NSObject <VVTabBarMiddleSelectProtocol>

+ (LBTabBarController *)configTabBarController;

+ (instancetype)shareInstance;

/// 选中某个tab
/// @param className 类名
+ (void)selectedIndexWithClassName:(NSString *)className;

/// 选中某个tab
/// @param className className 类名
/// @param before 选中之前
/// @param after 选中之后
+ (void)selectedIndexWithClassName:(NSString *)className
                            before:(nullable void(^)(UIViewController * _Nullable originVC, UIViewController * _Nullable targetVC))before
                             after:(nullable void(^)(UIViewController * _Nullable originVC, UIViewController * _Nullable targetVC))after;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END
